<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
</head>
<body>
{%if message%}
<b>{{message}}</b>
<p>
{%endif%}
{%if link_list%}
<div class="RoundedCorner">
<b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b>
	<table>
	{%for link in link_list%}
		<tr>
			<td><a href="{{link.link_url}}">{{link.link_description}}</a></td>
			<td><a href="/links/edit/{{link.key}}">Edit</a></td>
			<td><a href="/links/delete/{{link.key}}">Delete</a></td>
		</tr>
	{%endfor%}
	</table>
	<b class="rbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b></b>
</div>
	{%if has_previous%}
	<a href="/links/{{previous_page}}">Previous</a>
		{%if has_next%}|{%endif%}
	{%endif%}	
	{%if has_next%}
	<a href="/links/{{next_page}}">Next</a>
	{%endif%}
	
{% else %}
	<p>
		No links found.
	</p>
{% endif %}
<p>

<a href="/links/new">Add Link</a>

</body>
</html>